package com.demo;

import com.demo.config.ProviderConfiguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.concurrent.CountDownLatch;

public class ProviderApplication {

    public static void main(String[] args) throws InterruptedException {

        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(ProviderConfiguration.class);
        ac.start();

        System.out.println("provider start");
        new CountDownLatch(1).await();

    }

}
